package com.zsix.system.strategy.jump;

import com.zsix.common.dto.SendActionDto;
import com.zsix.common.dto.controllerParams.ProcessTaskParams;
import org.springframework.stereotype.Component;

@Component
public interface JumpStrategy {
    /**
     * 执行跳转
     * @param username
     * @param processTaskParams
     * @return
     */
    SendActionDto Do(String username, ProcessTaskParams processTaskParams
            ,String toUsers);

    /**
     * 获取类型
     * @return
     */
    String getType();
}
